package com.hqyj.suppliers.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author sdx2009
 * @since 2022-09-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("suppliers")
public class Suppliers implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 供货商
     */
    @TableId(value = "suppliers_id", type = IdType.AUTO)
    private Integer suppliersId;

    @TableField("suppliers_name")
    private String suppliersName;

    /**
     * 0代表男1代表女
     */
    @TableField("suppliers_sex")
    private Integer suppliersSex;

    @TableField("suppliers_tel")
    private String suppliersTel;

    @TableField("suppliers_email")
    private String suppliersEmail;

    /**
     * 证件名称
     */
    @TableField("suppliers_pid_name")
    private String suppliersPidName;

    /**
     * 证件号
     */
    @TableField("suppliers_pid")
    private String suppliersPid;

    /**
     * 签发时间
     */
    @TableField(value = "suppliers_start_time", fill = FieldFill.INSERT)
    private String suppliersStartTime;

    /**
     * 有效期限
     */
    @TableField(value = "suppliers_end_time", fill = FieldFill.INSERT)
    private String suppliersEndTime;


}
